package com.example.hotel.pojo;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class Favorite {
    private Integer id;

    @NotEmpty(message = "userid不能为空")
    private Integer userid;
    @NotEmpty(message = "roomid不能为空")
    private Integer roomid;
}
